export default{
  data(){
    return {
      tableHeight:50,
    }
  },
  mounted() {
    setTimeout(()=>{
      this.resizeTable()
    },500)
    window.addEventListener('resize', this.resizeTable)
  },
  destroyed() {
    window.removeEventListener('resize', this.resizeTable)
  },
  methods:{
    resizeTable(){
      const cardDom = document.getElementsByClassName('ant-card')[0]
      this.tableContentHeight = cardDom.offsetHeight-120
    }
  }
}


/**
 * calc(100% - 110px)
 *
 *
 */